package project.DAO;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

@Mapper
@Service
public interface definite {
    @Insert("insert into definite(sno,name,time) values (#{sno},#{name},#{time})")
    public void insertTouch(String sno, String name, String time);
    @Delete("delete from definite where sno=#{sno}")
    public void deleteSno(String sno);
    @Update("delete from definite where name=#{name}")
    public void deleteName(String name);
}

